'use strict';

const db = uniCloud.database();
exports.main = async (event, context) => {
	let { relateUuid, skip=0 } = event;
	
	return await db.collection("feedback").where({
		relateUuid
	}).orderBy("startTime", "desc").limit(10).skip(skip).get()
};